<?php
/**
* @file adstatistic.php
* @date: 2015-11-25 上午10:36:03
* @author: xiweijie
*/
namespace haibao\app\model\data;

class AdStatistic extends Base{
	/**
	* 广告ID
	*/
	public $AdId;
	/**
	* 广告位ID
	*/
	public $ZoneId;
	/**
	* 订单ID
	*/
	public $OrderId;
	/**
	* 展示数
	*/
	public $PV;
	/**
	* 点击数
	*/
	public $Click;
	/**
	 * 时间
	 */
	public $Time;
	/**
	* 添加时间
	*/
	public $CreateTime;
	
	public function __construct(){
		parent::__construct();
		
		$this->intField('AdId', 'AdId',true);
		$this->intField('ZoneId', 'ZoneId',true);
		$this->intField('OrderId', 'OrderId',true);
		$this->intField('PV', 'PV',true);
		$this->intField('Click', 'Click',true);
		$this->dateField('Time', 'Time',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		
		$this->setTableName('AdStatistic');
	}
}